import {request} from 'umi'
import {IProListQuery} from '@/utils/interface'

export const getMajorList = () => {
  return request('/sxpt/label/selectMajorStationList')
}
export const getTradeList = () => {
  return request('/sxpt/label/selectTradeList')
}
export const getTableList = (params:IProListQuery) => {
  return request('//sxpt/project/selectProjectList',{params})
}
export let DelIndustry = (Params: string) => {
  return request(`/sxpt/project/deleteProjectByVersionId?projectVersionId=${Params}`, {
      method: 'DELETE'
  });
}